<template>
  <div class="home-header">
    <div>
      <i>logo</i>
    </div>
    <div class="go-search" @click="goSearch">
      <i class="iconfont icon-fangdajing"></i>
      <span>搜索商品名称</span>
    </div>
    <div>
      <i class="iconfont icon-wode-copy"></i>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
		goSearch() {
			this.$router.push('/search')
		}
	},
};
</script>

<style scoped lang="scss">
.home-header {
  display: flex;
  justify-content: space-between;
  line-height: 1.3333333rem;
  font-size: 0.7rem;
  .go-search {
    background-color: #ffffff;
    span {
      font-size: 0.426666rem;
    }
  }
}
</style>